<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"      
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <h:body>
        <ui:composition template="./WEB-INF/plantillas/plantilla.xhtml">
            <ui:define name="content">
                
                <h1><center><h:outputLabel value="#{msgs.bienvenida}" /></center></h1>
                <br/>
                
                <h2 align="justify">
                    <h:outputText value="#{msgs.hola2}"/>
                </h2>
                <h3 align="justify">
                    <h:outputText value="#{msgs.hola3}"/>
                </h3>

                <p:notificationBar position="top" effect="slide" widgetVar="bar" styleClass="top">
                    <h:outputText value="#{msgs.consejo}" style="color:#610B0B;font-size:22px;" />
                </p:notificationBar>
                <center>
                    <p:commandButton value="#{msgs.consejo1}" onclick="bar.show()" type="button" />
                    <p:commandButton value="#{msgs.consejo2}" onclick="bar.hide()" type="button" />
                </center>
                
            </ui:define>

        </ui:composition>
    </h:body>
</html>
